package com.macro.mall.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.macro.mall.model.BmsMuseumGroup;
import com.macro.mall.query.BmsMuseumGroupQuery;
import com.macro.mall.dto.BmsMuseumGroupParam;

public interface BmsMuseumGroupService {

    List<BmsMuseumGroup> findPage(BmsMuseumGroupQuery query);

    List<BmsMuseumGroup> findList(BmsMuseumGroupQuery query);

    @Transactional
    int create(BmsMuseumGroupParam param);

    int update(BmsMuseumGroupParam param);

    BmsMuseumGroup getById(Long id);

    @Transactional
    int delete(List<Long> ids);

}
